package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

public interface ReportService {


    /*
    *t统计制定时间区域内的营业额数据
    * */
    TurnoverReportVO getTurnoverStatics(LocalDate begin, LocalDate end);

    /*
     *t统计制定时间区域内的用户数据
     * */
    UserReportVO getUserStatics(LocalDate begin, LocalDate end);

    /*统计指定时间内的订单数据*/
    OrderReportVO getOrderStatics(LocalDate begin, LocalDate end);

    SalesTop10ReportVO getSalesTop10Statics(LocalDate begin, LocalDate end);

    /*导出运营数据报表*/
    void exportBusinessData(HttpServletResponse response);
}
